package com.ruoyi.cms.mapper;


import com.ruoyi.cms.domain.Category;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CategoryMapper extends BaseMapperPlus<CategoryMapper, Category, Category > {

    List<Category> queryList();

	List<Category> selectByParentId(@Param("parentId")String parentId);

	Category queryCategoryByCode(@Param("code") String code);

	List<Category> queryListByParams(Map<String, Object> params);

	List<Category> queryAll();
}
